System and Method for Verifying the Operating Frequency of Digital Control Circuitry

ABSTRACT

A system and method are presented for verifying the operating frequency of digital control circuitry. The system and method according to the present disclosure provide for a digitally controlled system, such as an electrosurgical system, to confirm or verify its operating frequency using a single external device, and software and/or firmware.

BACKGROUND

1. Technical Field

The present disclosure relates to digital control circuitry and, more particularly, to a system and method for verifying the operating frequency of digital control circuitry.

2. Discussion of Related Art

Many electrical systems, such as electrosurgical systems, employ digital control circuitry which drive time critical functions. The control circuitry could include, but is not limited to, microcontrollers, digital signal processors (DSPs) and field-programmable gate arrays (FPGAs). Typically, the digital control circuitry is clocked off of a single oscillator circuit. In the case of an oscillator circuit malfunction, the control circuitry may operate at an incorrect or undesirable frequency, which may be problematic. A few examples of systems which rely on accurate clock rate for effective operation include digital power supplies, RF inverters and ultrasonic inverters.

In the example of a digital power supply, the control circuitry provides PWM signals which are used to turn power mosfets on and off. Timing of these switching events is important. Not only could a shift in frequency result in loss of efficiency, but could also cause shoot-through or magnetic saturation, resulting in possible circuit failure.

Similar issues exist for inverter circuits, such as push-pull, full bridge or half bridge. Other concerns include clinical effectiveness and possible EMC violations if the output frequency drifts.

In a system that is space constrained, it would be desirable to have the ability for the control circuitry to confirm its own operating frequency, without complex external circuitry, prior to power output. In doing so, system confidence would be high prior to power generation and output knowing the output is within the system's operating frequency limits.

SUMMARY

The present disclosure relates to a system and method for verifying the operating or operational frequency of digital control circuitry. The system and method according to the present disclosure provide for a digitally controlled system, such as an electrosurgical system, to confirm or verify its operating frequency using a single external device, and software and/or firmware.

In embodiments described herein the term “clock rate” is defined as the fundamental rate in cycles per second at which a computer or digital control circuitry performs its most basic operations such as adding two numbers or transferring a value from one register to another.

In particular, a method for verifying an operational frequency in a digital control circuitry includes operating an oscillator at a predetermined frequency; inputting a first clock signal generated by the oscillator to the digital control circuitry via a first input; determining the number of transitions of the first clock signal at the first input; inputting a second clock signal to the digital control circuitry via a second input; initiating a timed sequence where the number of transitions at the first input are counted over a predetermined number of control clock cycles at the second input; and determining the operational frequency of the digital control circuitry using the predetermined number of clock cycles, the number of transitions of the first clock signal, and the predetermined frequency of the oscillator.

The step of determining the operational frequency includes determining the operational frequency by dividing the number of clock cycles by the number of transitions and then multiplying the result with the predetermined frequency of the oscillator. The oscillator is an external oscillator relative to the digital control circuitry. The second clock signal is generated by a control oscillator. The digital control circuitry includes devices selected from the group consisting of microcontrollers, digital signal processors (DSPs), and field-programmable gate arrays (FPGAs).

The method further includes selecting the predetermined frequency of the oscillator. The step of selecting the predetermined frequency of the oscillator includes taking into account criteria selected from the group consisting of a clock rate corresponding to a system controlled by the digital control circuitry, absolute tolerance of the frequency of the system being controlled, and a rate at which verification of the operational frequency needs to take place.

The system according to the present disclosure for verifying an operational frequency in a digital control circuitry includes a first oscillator operating at a predetermined frequency; and a second oscillator. A first clock signal generated by the first oscillator is received by the digital control circuitry via a first input. A second clock signal generated by the second oscillator is received by the digital control circuitry via a second input.

The system further includes means for initiating a timed sequence where a number of transitions at the first input are counted over a predetermined number of control clock cycles at the second input; and means for determining the operational frequency of the digital control circuitry using the predetermined number of clock cycles, the number of transitions of the first clock signal, and the predetermined frequency of the oscillator.

The means for determining the operational frequency includes means for determining the operational frequency by dividing the number of clock cycles by the number of transitions and then multiplying the result with the predetermined frequency of the oscillator. The first oscillator is an external oscillator relative to the digital control circuitry. The digital control circuitry includes devices selected from the group consisting of microcontrollers, digital signal processors (DSPs), and field-programmable gate arrays (FPGAs).

The system further includes means for selecting the predetermined frequency of the oscillator. The means for selecting the predetermined frequency of the oscillator includes taking into account criteria selected from the group consisting of a clock rate corresponding to a system controlled by the digital control circuitry, absolute tolerance of the frequency of the system being controlled, and a rate at which verification of the operational frequency needs to take place.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects and features of the presently-disclosed systems and methods will become apparent to those of ordinary skill in the art when descriptions thereof are read with reference to the accompanying drawings, of which:

FIG. 1 is a block diagram of a system which allows digital control circuitry to confirm or verify its operating or operational frequency using an external device and software and/or firmware in accordance with an embodiment of the present disclosure;

FIG. 2 illustrates a first example of an implementation of the operational frequency verification method in accordance with the present disclosure; and

FIG. 3 illustrates a second example of an implementation of the operational frequency verification method in accordance with the present disclosure.

DETAILED DESCRIPTION

Hereinafter, embodiments of the presently-disclosed system and method for verifying the operating frequency of digital control circuitry are described with reference to the accompanying drawings. Like reference numerals may refer to similar or identical elements throughout the description of the figures.

The present disclosure relates to a system and method for verifying the operating or operational frequency of digital control circuitry. The system and method according to the present disclosure provide for a digitally controlled system, such as an electrosurgical system, to confirm or verify the operating frequency of its digital control circuitry using a single external device, and software and/or firmware.

With more particularity with reference to FIGS. 1-3, the present disclosure relates to a system and method where digital control circuitry, designated by reference numeral 100 in FIG. 1, controlling a digitally controlled system, such as an electrosurgical system, is clocked using a control circuitry oscillator 200. The digital control circuitry 100 could include, but is not limited to, the following devices: microcontrollers, digital signal processors (DSPs), and field-programmable gate arrays (FPGAs). One or more of these devices can be used alone or in combination for performing the steps of verifying the operational frequency described herein in accordance with the present disclosure. Alternatively, at least one additional processor, microcontroller and/or FPGA is provided for performing the steps for verifying the operational frequency described herein in accordance with the present disclosure.

Upon power up, the external oscillator 300 starts and runs at the oscillator's fixed clock rate. The frequency of the external oscillator 300 is selected based on the needs of the specific application being performed by the digitally controlled system. The specific application could be, for example, an electrosurgical procedure. Certain criteria for selecting the frequency of the external oscillator 300 include, but are not limited to, a clock rate corresponding to a system controlled by the digital control circuitry 100, absolute tolerance of the frequency of the system being controlled, and a rate at which verification of the operational frequency needs to take place.

If only a coarse frequency check is required, then the clock rate of the external oscillator 300 may be much lower than the control clock frequency of the digital control circuitry 100 and the check may be short in duration. If a tighter tolerance is required, the clock rate of the external oscillator 300 will need to be closer to the control clock frequency of the digital control circuitry 100 or the duration of the check must increase.

In accordance with the present disclosure, once operational, the digital control circuitry 100 configures the external oscillator clock input such that the number of logic level transitions on the external oscillator clock input pin 110 can be easily counted. This may be an external interrupt input, a counter input, etc.

The control software and/or firmware of the digital control circuitry 100 then initiates a timed sequence where the number of transitions present on the external oscillator clock input pin 120 are counted over a fixed number of control clock cycles received on clock input pin 110. The two clock signals received at pins 110, 120 are each generated by a respective oscillator 200, 300. A transition is defined as either a rising or falling edge depending on the application.

Based on the expected control clock rate at clock input pin 110 and the known external oscillator clock rate at external oscillator clock input pin 120, the software can determine if the number of counts is within an acceptable range. The following equation can then be used to determine Digital Control Clock Frequency, which can then be compared to the acceptable operating range for verification purposes:

Digital Control Frequency=(Number of Control Clocks/Number of Transitions or Counts)*Frequency of External Oscillator

Depending on the requirements of the system, the operational frequency check in accordance with the present disclosure may be run at start-up, periodically during use or each time before turning on the timing critical stage(s). In the event that power consumption of the device or system is critical, the external oscillator 300 may include an enable circuit to disconnect power to and disable switching when not in use.

FIG. 2 illustrates a first example of an implementation of the operational frequency verification method in accordance with the present disclosure. In this example, the digital control clock rate or frequency of the digital control circuitry 100 is 75 MHz, the frequency of the external oscillator 300 is 37.25 MHz, and the number of control clock cycles is 20 (bottom graph). The digital control circuitry 100 counts 10 transitions on the external oscillator clock input pin 120 (top graph). Based on the knowledge that the duration of sampling was 20 control clock cycles at the clock input pin 110 and the frequency of the external oscillator 300 is 37.25 MHz, the following mathematical operation confirms the digital control operational frequency:

Digital Control Frequency=(20/10)*37.25 MHz

Digital Control Frequency=75 MHz

FIG. 3 illustrates a second example of an implementation of the operational frequency verification method in accordance with the present disclosure. In this example, as in the first example, the digital control clock rate or frequency is 75 MHz, the external oscillator frequency is 37.25 MHz, and the number of control clock cycles is 20 (bottom graph). In this example, the oscillator of the digital control circuitry 100 is running fast and only counts 9 transitions on the external oscillator clock input pin 120 (top graph). Based on the knowledge that the duration of sampling was 20 control clock cycles at the clock input pin 110 and the external oscillator frequency is 37.25 MHz, the following mathematical operation confirms the digital control operational frequency is high and potentially outside the range of the specification:

Digital Control Frequency=(20/9)*37.25 MHz

Digital Control Frequency=82.8 MHz

Although embodiments have been described in detail with reference to the accompanying drawings for the purpose of illustration and description, it is to be understood that the inventive processes and apparatus are not to be construed as limited thereby. It will be apparent to those of ordinary skill in the art that various modifications to the foregoing embodiments may be made without departing from the scope of the disclosure. 

What is claimed is:
 1. A method for verifying an operational frequency in a digital control circuitry, the method comprising: operating an oscillator at a predetermined frequency; inputting a first clock signal generated by the oscillator to the digital control circuitry via a first input; determining the number of transitions of the first clock signal at the first input; inputting a second clock signal to the digital control circuitry via a second input; initiating a timed sequence where the number of transitions at the first input are counted over a predetermined number of control clock cycles at the second input; and determining the operational frequency of the digital control circuitry using the predetermined number of clock cycles, the number of transitions of the first clock signal, and the predetermined frequency of the oscillator.
 2. The method of claim 1, wherein the step of determining the operational frequency includes determining the operational frequency by dividing the number of clock cycles by the number of transitions and then multiplying the result with the predetermined frequency of the oscillator.
 3. The method of claim 1, wherein the oscillator is an external oscillator relative to the digital control circuitry.
 4. The method of claim 1, wherein the second clock signal is generated by a control oscillator.
 5. The method of claim 1, wherein the digital control circuitry includes devices selected from the group consisting of microcontrollers, digital signal processors (DSPs), and field-programmable gate arrays (FPGAs).
 6. The method of claim 1, further comprising the step of selecting the predetermined frequency of the oscillator.
 7. The method of claim 6, wherein the step of selecting the predetermined frequency of the oscillator includes taking into account criteria selected from the group consisting of a clock rate corresponding to a system controlled by the digital control circuitry, absolute tolerance of the frequency of the system being controlled, and a rate at which verification of the operational frequency needs to take place.
 8. A system for verifying an operational frequency in a digital control circuitry, the method comprising: a first oscillator operating at a predetermined frequency; and a second oscillator, wherein a first clock signal generated by the first oscillator is received by the digital control circuitry via a first input, and wherein a second clock signal generated by the second oscillator is received by the digital control circuitry via a second input; means for initiating a timed sequence where a number of transitions at the first input are counted over a predetermined number of control clock cycles at the second input; and means for determining the operational frequency of the digital control circuitry using the predetermined number of clock cycles, the number of transitions of the first clock signal, and the predetermined frequency of the oscillator.
 9. The system of claim 8, wherein the means for determining the operational frequency includes means for determining the operational frequency by dividing the number of clock cycles by the number of transitions and then multiplying the result with the predetermined frequency of the oscillator.
 10. The system of claim 8, wherein the first oscillator is an external oscillator relative to the digital control circuitry.
 11. The system of claim 8, wherein the digital control circuitry includes devices selected from the group consisting of microcontrollers, digital signal processors (DSPs), and field-programmable gate arrays (FPGAs).
 12. The system of claim 8, further comprising means for selecting the predetermined frequency of the oscillator.
 13. The system of claim 12, wherein the means for selecting the predetermined frequency of the oscillator includes taking into account criteria selected from the group consisting of a clock rate corresponding to a system controlled by the digital control circuitry, absolute tolerance of the frequency of the system being controlled, and a rate at which verification of the operational frequency needs to take place. 